package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.StudentCodeSubmissions;

/**
 * 学生代码提交Service接口
 * 
 * @author ruoyi
 * @date 2025-08-15
 */
public interface IStudentCodeSubmissionsService 
{
    /**
     * 查询学生代码提交
     * 
     * @param submissionId 学生代码提交主键
     * @return 学生代码提交
     */
    public StudentCodeSubmissions selectStudentCodeSubmissionsBySubmissionId(Long submissionId);

    /**
     * 查询学生代码提交列表
     * 
     * @param studentCodeSubmissions 学生代码提交
     * @return 学生代码提交集合
     */
    public List<StudentCodeSubmissions> selectStudentCodeSubmissionsList(StudentCodeSubmissions studentCodeSubmissions);

    /**
     * 新增学生代码提交
     * 
     * @param studentCodeSubmissions 学生代码提交
     * @return 结果
     */
    public int insertStudentCodeSubmissions(StudentCodeSubmissions studentCodeSubmissions);

    /**
     * 修改学生代码提交
     * 
     * @param studentCodeSubmissions 学生代码提交
     * @return 结果
     */
    public int updateStudentCodeSubmissions(StudentCodeSubmissions studentCodeSubmissions);

    /**
     * 批量删除学生代码提交
     * 
     * @param submissionIds 需要删除的学生代码提交主键集合
     * @return 结果
     */
    public int deleteStudentCodeSubmissionsBySubmissionIds(Long[] submissionIds);

    /**
     * 删除学生代码提交信息
     * 
     * @param submissionId 学生代码提交主键
     * @return 结果
     */
    public int deleteStudentCodeSubmissionsBySubmissionId(Long submissionId);
}
